package org.jeecg.modules.flowable.listener;

import lombok.extern.slf4j.Slf4j;
import org.flowable.engine.delegate.event.AbstractFlowableEngineEventListener;
import org.flowable.engine.delegate.event.FlowableProcessStartedEvent;
import org.springframework.stereotype.Component;

/**
 * 流程开始监听回调
 */
@Slf4j
@Component
public class ProcessStartedListener extends AbstractFlowableEngineEventListener {


    @Override
    protected void processStarted(FlowableProcessStartedEvent event) {
        log.info("process started ");
    }
}